package cn.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng
 * @since 2019-01-02
 */
@TableName("ry_check")
public class Check extends Model<Check> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("check_id")
    private String checkId;
    @TableField("check_name")
    private String checkName;
    @TableField("check_state")
    private String checkState;
    @TableField("check_secret")
    private String checkSecret;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCheckId() {
        return checkId;
    }

    public void setCheckId(String checkId) {
        this.checkId = checkId;
    }

    public String getCheckName() {
        return checkName;
    }

    public void setCheckName(String checkName) {
        this.checkName = checkName;
    }

    public String getCheckState() {
        return checkState;
    }

    public void setCheckState(String checkState) {
        this.checkState = checkState;
    }

    public String getCheckSecret() {
        return checkSecret;
    }

    public void setCheckSecret(String checkSecret) {
        this.checkSecret = checkSecret;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Check{" +
        ", id=" + id +
        ", checkId=" + checkId +
        ", checkName=" + checkName +
        ", checkState=" + checkState +
        ", checkSecret=" + checkSecret +
        "}";
    }
}
